package com.ohs.ohsoa.system.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 树形结构（
 *
 * @author mwx
 * @since  2021年9月24日
 */
@Data
public class TreeVo {

    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "父编号")
    private String pid;

    @ApiModelProperty(value = "父名称")
    private String pname;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "子list")
    private List<TreeVo> children;

}
